<extend name="Base/common"/>
<block name="header">
    <include file="Public/_nav"/>
    <link type="text/css" rel="stylesheet" href="__CSS__/wckc.css">
    <!-- <script type="text/javascript" src="__JS__/common.js"></script> -->
</block>

<block name="body">
        <!-- 左侧菜start -->
        <div class="col-md-2">            
          <include file="Public/sidebar"  />
        </div>
        <!-- 左侧菜end -->
         <!--内容栏start-->
  <div class="col-md-10"> 
    <div class="row container-fluid ">
    <div class="common-block-lg">

       <ul class="nav nav-tabs">
           <li><a href="{:U('Zhanshi/jiemu')}"><i class="icon-th-large"> </i>五彩课程展示</a></li>
           <li class="active"><a href="{:U('Zhanshi/jiemuScore')}"><i class="icon-th-large"> </i>节目汇总</a></li>
           <li><a href="{:U('Zhanshi/downjiemuMusic')}"><i class="icon-th-large"> </i>展示音乐汇总</a></li>
       </ul>
  

         <h1 style="color:#CC4444"> &nbsp; &nbsp;五彩课程汇报展示活动 </h1>
    
  
     <!-- 登记表单start -->
     <div class="right_box">
      <legend>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ——各班节目汇总 </legend>
            
 
          <div class="form-inline">
          <form class="form-condensed" role="form" method="post" action="" name="formjiemu" id="formjiemu"> 
           <div class="col-md-6">
           <div class="input-group"> 
            <span class="input-group-addon">学年：</span>
                <select class="form-control" name="year" id="year"  onChange="this.form.submit()" class="span1">                
                      <option>{$cur_year}</option>
                      <option>2016</option>
                      <option value="" > 请选择学年</option>
                      <option>2015</option>                   
                </select>
            <span class="input-group-addon fix-border fix-padding">关键词：</span>
            <input type="text" name="keywords" class="form-control" placeholder="请输入关键词查询" value="{$Think.post.keywords}"/> 
              <span class="input-group-btn">
              <button type="submit" class="btn btn-success">查  询</button>
              </span>   
          </div>      
        </div>
            <div class="col-md-4 ">
               <a class="btn btn-primary"  href="{:U('Exceljiemu/exportJiemu?year='.$cur_year)}" >导出Excel文档</a>
            </div>  
           </form>
        </div> 
      <div class="clearfix"></div>

     <!-- 登记表单end -->
  
    <!-- Table start --> 
         <div class="right_box">   
        <table class="table table-striped table-bordered" width="100%">
        <thead>
        <tr class="info">
            <th class="text-center">序号</th><th class="text-center">课程名称</th><th class="text-center">任课教师</th><th class="text-center">节目名称</th>
            <th class="text-center">节目形式</th><th class="text-center">时长</th><th class="text-center">人数</th><th class="text-center">串词</th><!-- <th class="text-center">上传时间</th> --><th class="text-center">操作</th>
        </tr>
        </thead>
        <volist name="jiemulist" id="vo" >
        <tr>
            <td>{$i}</td>          
            <td>{$vo.kecheng}</td>
            <td>{$vo.teacher}</td>
            <td>{$vo.jiemu_name}</td><td>{$vo.jiemu_xingshi}</td><td>{$vo.jiemu_time}</td><td>{$vo.jiemu_renshu}</td><td>{$vo.jiemu_jieshuo|msubstr=0,10,'utf-8',true}</td><!-- <td><notempty name="vo.create_time">
             {$vo.create_time|date='Y-m-d',###}<else/> 
             </notempty></td> -->
            <td class="text-center">                      
            <a href="{:U('Zhanshi/jiemuedit?id='.$vo['id'])}" ><i class="icon-edit"></i></a>
            <a href="{:U('Zhanshi/jiemuMusic?id='.$vo['id'])}" ><i class="icon icon-cloud-upload"></i></a>
            <a href="{:U('Zhanshi/jiemudelete?id='.$vo['id'])}" ><i class="icon icon-trash"></i></a></td>
            </tr>
        </volist>
        </table> 
        <div class="right_box text-right"> 
          &nbsp; {:getPagination($totalPageCount,$r)}
        </div>
     </div>
 <!--/Table end-->

 </div>
 </div> 
 </div> 
</div>
     
</block>

 <div class="right_box">
 <div class="col-md-10"><h1 style="color:#CC4444">五彩课程汇报展示节目汇总 </h1></div>
       
     <!-- 登记表单start -->
     
      <legend>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ——五彩课程展示活动节目上报: </legend>

    <!-- Table start --> 
         <div class="col-xs-12">     
        <table class="table table-striped table-bordered" width="100%">
        <thead>
        <tr class="info">
            <th class="text-center">序号</th><th class="text-center">课程名称</th><th class="text-center">任课教师</th><th class="text-center">节目名称</th>
            <th class="text-center">节目形式</th><th class="text-center">时长</th><th class="text-center">人数</th><th class="text-center">串词</th><th class="text-center">操作</th>
        </tr>
        </thead>
        <volist name="jiemulist" id="vo" >
        <tr>
            <td>{$i}</td>          
            <td>{$vo.kecheng}</td>
            <td>{$vo.teacher}</td>
            <td>{$vo.jiemu_name}
                   
            </td><td>{$vo.jiemu_xingshi}</td><td>{$vo.jiemu_time}</td><td>{$vo.jiemu_renshu}</td><td>{$vo.jiemu_jieshuo}</td>
            <td class="text-center">                      
            <a href="{:U('Index/jiemuedit?id='.$vo['id'])}" >编辑</a>｜
             <a href="{:U('Index/jiemuMusic?id='.$vo['id'])}" >上传音乐</a>｜
            <a href= "{:U('Index/delete?id='.$vo['id'])}" >删除</a></td>
            </tr>
        </volist>
        </table> 
     </div>
 <!--/Table-->
 </div>

 </div></div>    
</block>